<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>
            阳光成单系统
        </title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="./css/x-admin.css" media="all">
    </head>
    <body>
        <div class="x-nav">
            <span class="layui-breadcrumb">
              <a><cite>首页</cite></a>
              <a><cite>会员管理</cite></a>
              <a><cite>会员列表</cite></a>
            </span>
            <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"  href="javascript:location.replace(location.href);" title="刷新"><i class="layui-icon" style="line-height:30px">ဂ</i></a>
        </div>
        <div class="x-body">
           
            <table class="layui-table">
                <thead>
                    <tr>
                       <th>
                          id
                        </th>
                        <th>
                            超市名字
                        </th>
                        <th>
                            超市介绍
                        </th>
                        <th>
                            超市电话
                        </th>
                        <th>
                            超市邮箱
                        </th>
                        <th>
                            超市网址
                        </th>
                        <th>
                            超市地址
                        </th>
                        <th>
                            企业文化
                        </th>
                        <th>
                           详细介绍
                        </th>
                        <th>
                           logo
                        </th>
                        <th>
                           二维码
                        </th>
                        <th>
                            操作
                        </th>
                    </tr>
                </thead>
                <tbody id="tbody_selXiYangYangChaoShi">
                   
                </tbody>
            </table>

            <div id="page"></div>
        </div>
        <script src="./lib/layui/layui.js" charset="utf-8"></script>
        <script src="./js/x-layui.js" charset="utf-8"></script>
        <script>
            layui.use(['laydate','element','laypage','layer'], function(){
                $ = layui.jquery;//jquery
              layer = layui.layer;//弹出层 
              $(function(){
            	  selXiYangYangChaoShi()
              })
            });
			function selXiYangYangChaoShi(){
				$("#tbody_selXiYangYangChaoShi").html("");
				$.post("../AdminXiYangYangChao?reqName=selXiYangYangChaoShi",{},function(res){
					$("#tbody_selXiYangYangChaoShi").append(`
							 <tr>
							  <td>
	                        ${res.id}
	                        </td>
	                        <td>
	                        ${res.chaoShiName}
	                        </td>
	                        <td>
	                        ${res.chaoShiJieShao}
	                        </td>
	                        <td >
	                        ${res.chaoShiDianHua}
	                        </td>
	                        <td> 
	                        ${res.chaoShiYouXiang}
	                        </td>
	                        <td >
	                        ${res.chaoShiWangZhi}
	                        </td>
	                        <td >
	                        ${res.chaoShiDiZhi}
	                        </td>
	                        <td>
	                        ${res.qiYeWenHua}
	                        </td>
	                            <td>
	                            ${res.chaoShiXiangJie}
	                        </td>
	                            <td>
	                            
	                            <img alt="" src="../${res.chaoShiErWeiMa}">
	                        </td>
	                            <td>
	                            <img alt="" src="../${res.logo}">
	                           
	                        </td>
	                       
	                        <td class="td-manage">
	                          
	                            <a title="编辑" href="javascript:;" onclick="member_edit('编辑','xiyangyangchaoshi_edit.html', ${res.id},'','510')"
	                            class="ml-5" style="text-decoration:none">
	                                <i class="layui-icon">&#xe642;</i>
	                            </a>
	                            
	                            
	                        </td>
	                    </tr>		
							
					`);
				},"json")
			}
         
         

        
            // 用户-编辑
            function member_edit (title,url,id,w,h) {
            	sessionStorage.setItem("id",id);
                x_admin_show(title,url,w,h); 
            }
          
            </script>
            
    </body>
</html>